﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;
namespace TopModel
{
    public class Member : IIdentity
    {
        private string m_userID;

        public string UserID
        {
            get { return m_userID; }
            set { m_userID = value; }
        }
        private string m_userNick;

        public string UserNick
        {
            get { return m_userNick; }
            set { m_userNick = value; }
        }

        private bool m_isAuthenticated;

        #region IIdentity Members

        public string AuthenticationType
        {
            get { return ""; }
        }

        public bool IsAuthenticated
        {
            get { return m_isAuthenticated; }
            set { m_isAuthenticated = value; }
        }

        public string Name
        {
            get { return this.m_userNick; }
        }

        #endregion

        public Member()
        {
            m_userNick = string.Empty;
            m_userID = string.Empty;
            m_isAuthenticated = false;
        }
    }
}
